home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGSCAL / TINYPASC.LZH / TUFILES.PAS < prev    next >
Pascal/Delphi Source File  |  1986-02-17  |  511b  |  24 lines

  1.   { TUFILES:  File opening for program generation. }
  2.  
  3.   {*****************}
  4.   function OPENSFILE:  boolean;
  5.     { the sfile is the source file }
  6.   begin
  7.     opensfile:=openfile(sfile, sfilename, false);
  8.     end;
  9.  
  10.   {*****************}
  11.   function OPENRFILE:  boolean;
  12.     { the gfile is the target assembler file }
  13.   begin
  14.     openrfile:=openfile(rfile, rfilename, true);
  15.     end;
  16.  
  17.   {*******************}
  18.   procedure CLOSEFILES;
  19.   begin
  20.     close(sfile);
  21.     close(rfile);
  22.     end;
  23.     
  24.